﻿using WeChatBotSDK.Services;

namespace 发送消息测试
{
    internal class Program
    {
        static async Task Main(string[] args)
        {
            WeChatApiService weChatApiService= new WeChatApiService("http://localhost:8888/qianxun/httpapi");
            var 微信状态 = await weChatApiService.QueryContactInfoAsync("wxid_xxxxxxx", "wxid_yyyyyyyyy");

            var res= await weChatApiService.SendImageAsync("wxid_xxxxxxx", "wxid_yyyyyyyyy", @"a.jpg");
            Console.WriteLine("Hello, World!");
        }
    }
}
